package com.bootx.entity;

import com.fasterxml.jackson.annotation.JsonView;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;

/**
 * @author black
 */
@Entity
public class Config extends BaseEntity<Long> {

    @JsonView({EditView.class})
    private Integer walletIndex;

    @JsonView({EditView.class})
    private Integer predictionCount;

    private Integer baseBetMoney;

    private Integer baseTimes;

    private Integer maxBetMoney;

    private Integer continuousLostTimes;

    @Column(unique = true,nullable = false,updatable = false)
    private String lotteryCode;

    public Integer getWalletIndex() {
        return walletIndex;
    }

    public void setWalletIndex(Integer walletIndex) {
        this.walletIndex = walletIndex;
    }

    public Integer getPredictionCount() {
        return predictionCount;
    }

    public void setPredictionCount(Integer predictionCount) {
        this.predictionCount = predictionCount;
    }

    public Integer getBaseBetMoney() {
        return baseBetMoney;
    }

    public void setBaseBetMoney(Integer baseBetMoney) {
        this.baseBetMoney = baseBetMoney;
    }

    public Integer getBaseTimes() {
        return baseTimes;
    }

    public void setBaseTimes(Integer baseTimes) {
        this.baseTimes = baseTimes;
    }

    public Integer getMaxBetMoney() {
        return maxBetMoney;
    }

    public void setMaxBetMoney(Integer maxBetMoney) {
        this.maxBetMoney = maxBetMoney;
    }

    public Integer getContinuousLostTimes() {
        return continuousLostTimes;
    }

    public void setContinuousLostTimes(Integer continuousLostTimes) {
        this.continuousLostTimes = continuousLostTimes;
    }

    public String getLotteryCode() {
        return lotteryCode;
    }

    public void setLotteryCode(String lotteryCode) {
        this.lotteryCode = lotteryCode;
    }
}
